---------------------------------------------------------------------------------------------------------------------------------------------------------
      name:  <unnamed>
       log:  /Users/wesleyblundell/Dropbox/Wes_Supplemental_NEI/JAERE_Replication/Replication_package/log/Table_A4_Results.log
  log type:  text
 opened on:  15 May 2024, 11:37:07

. eststo clear

. use "$rootpath/processed_data/Estimation_Data.dta", clear

. 
. //facility-level se
. reghdfe  tot_damage treatXpost if key_estimation_sample==1, absorb(facility_id n5#year) vce(cluster facility_id)
(MWFE estimator converged in 239 iterations)

HDFE Linear regression                            Number of obs   =    699,013
Absorbing 2 HDFE groups                           F(   1,  81431) =       1.97
Statistics robust to heteroskedasticity           Prob > F        =     0.1603
                                                  R-squared       =     0.7817
                                                  Adj R-squared   =     0.7501
                                                  Within R-sq.    =     0.0000
Number of clusters (facility_id) =     81,432     Root MSE        =  7.354e+06

                       (Std. Err. adjusted for 81,432 clusters in facility_id)
------------------------------------------------------------------------------
             |               Robust
  tot_damage |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
  treatXpost |  -184358.2   131316.6    -1.40   0.160    -441737.9    73021.47
       _cons |    1469012   22504.11    65.28   0.000      1424904     1513120
------------------------------------------------------------------------------

Absorbed degrees of freedom:
-----------------------------------------------------+
 Absorbed FE | Categories  - Redundant  = Num. Coefs |
-------------+---------------------------------------|
 facility_id |     81432       81432           0    *|
     n5#year |      6834           1        6833     |
-----------------------------------------------------+
* = FE nested within cluster; treated as redundant for DoF computation

. estimates store res_level_damage1

. 
. //state-level se 
. //reghdfe  tot_damage treatXpost if key_estimation_sample==1, absorb(facility_id n5#year) vce(cluster state_number)
. //estimates store res_level_damage1state
. 
. //facility-level se
. reghdfe  tot_damage treatXpost if key_estimation_sample==1&tot_damage<1e8, absorb(facility_id n5#year) vce(cluster facility_id)
(dropped 19 singleton observations)
(MWFE estimator converged in 244 iterations)

HDFE Linear regression                            Number of obs   =    697,655
Absorbing 2 HDFE groups                           F(   1,  81363) =       6.57
Statistics robust to heteroskedasticity           Prob > F        =     0.0104
                                                  R-squared       =     0.8852
                                                  Adj R-squared   =     0.8686
                                                  Within R-sq.    =     0.0000
Number of clusters (facility_id) =     81,364     Root MSE        =  1.871e+06

                       (Std. Err. adjusted for 81,364 clusters in facility_id)
------------------------------------------------------------------------------
             |               Robust
  tot_damage |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
  treatXpost |  -135235.5   52769.53    -2.56   0.010    -238663.4    -31807.6
       _cons |    1042422   9043.367   115.27   0.000      1024697     1060147
------------------------------------------------------------------------------

Absorbed degrees of freedom:
-----------------------------------------------------+
 Absorbed FE | Categories  - Redundant  = Num. Coefs |
-------------+---------------------------------------|
 facility_id |     81364       81364           0    *|
     n5#year |      6831           1        6830     |
-----------------------------------------------------+
* = FE nested within cluster; treated as redundant for DoF computation

. estimates store res_level_damage2

. 
. //state-level se
. //reghdfe  tot_damage treatXpost if key_estimation_sample==1tot_damage<1e8, absorb(facility_id n5#year) vce(cluster state_number)
. //estimates store res_level_damage2state
. 
. gen log_damX=log(tot_damage+1)

. //facility-level se
. reghdfe  log_damX treatXpost if key_estimation_sample==1, absorb(facility_id n5#year) vce(cluster facility_id)
(MWFE estimator converged in 245 iterations)

HDFE Linear regression                            Number of obs   =    699,013
Absorbing 2 HDFE groups                           F(   1,  81431) =      38.82
Statistics robust to heteroskedasticity           Prob > F        =     0.0000
                                                  R-squared       =     0.8970
                                                  Adj R-squared   =     0.8821
                                                  Within R-sq.    =     0.0002
Number of clusters (facility_id) =     81,432     Root MSE        =     1.2728

                       (Std. Err. adjusted for 81,432 clusters in facility_id)
------------------------------------------------------------------------------
             |               Robust
    log_damX |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
  treatXpost |  -.1943325   .0311909    -6.23   0.000    -.2554665   -.1331986
       _cons |   9.556842   .0053453  1787.91   0.000     9.546365    9.567319
------------------------------------------------------------------------------

Absorbed degrees of freedom:
-----------------------------------------------------+
 Absorbed FE | Categories  - Redundant  = Num. Coefs |
-------------+---------------------------------------|
 facility_id |     81432       81432           0    *|
     n5#year |      6834           1        6833     |
-----------------------------------------------------+
* = FE nested within cluster; treated as redundant for DoF computation

. estimates store res_log_damage1

. 
. //state-level se
. //reghdfe  log_damX treatXpost if key_estimation_sample==1, absorb(facility_id n5#year) vce(cluster state_number)
. //estimates store res_log_damage1state
. 
. ///This is emissions
> 
. //facility-level se
. reghdfe  tot_emissions treatXpost if key_estimation_sample==1, absorb(facility_id n5#year) vce(cluster facility_id)
(MWFE estimator converged in 249 iterations)

HDFE Linear regression                            Number of obs   =    699,013
Absorbing 2 HDFE groups                           F(   1,  81431) =       8.78
Statistics robust to heteroskedasticity           Prob > F        =     0.0030
                                                  R-squared       =     0.9086
                                                  Adj R-squared   =     0.8954
                                                  Within R-sq.    =     0.0001
Number of clusters (facility_id) =     81,432     Root MSE        =    68.8722

                       (Std. Err. adjusted for 81,432 clusters in facility_id)
------------------------------------------------------------------------------
             |               Robust
tot_emissi~s |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
  treatXpost |  -6.811038   2.298224    -2.96   0.003    -11.31554   -2.306536
       _cons |   42.77776   .3938533   108.61   0.000     42.00581    43.54971
------------------------------------------------------------------------------

Absorbed degrees of freedom:
-----------------------------------------------------+
 Absorbed FE | Categories  - Redundant  = Num. Coefs |
-------------+---------------------------------------|
 facility_id |     81432       81432           0    *|
     n5#year |      6834           1        6833     |
-----------------------------------------------------+
* = FE nested within cluster; treated as redundant for DoF computation

. estimates store res_level_emission1

. 
. //state-level se
. //reghdfe  tot_emissions treatXpost if key_estimation_sample==1, absorb(facility_id n5#year) vce(cluster state_number)
. //estimates store res_level_emission1state
. 
. //facility-level se
. reghdfe  tot_emissions treatXpost if key_estimation_sample==1&tot_damage<1e8, absorb(facility_id n5#year) vce(cluster facility_id)
(dropped 19 singleton observations)
(MWFE estimator converged in 241 iterations)

HDFE Linear regression                            Number of obs   =    697,655
Absorbing 2 HDFE groups                           F(   1,  81363) =      14.09
Statistics robust to heteroskedasticity           Prob > F        =     0.0002
                                                  R-squared       =     0.9127
                                                  Adj R-squared   =     0.9001
                                                  Within R-sq.    =     0.0001
Number of clusters (facility_id) =     81,364     Root MSE        =    58.8604

                       (Std. Err. adjusted for 81,364 clusters in facility_id)
------------------------------------------------------------------------------
             |               Robust
tot_emissi~s |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
  treatXpost |  -7.611155   2.027349    -3.75   0.000    -11.58474   -3.637566
       _cons |   38.96691   .3474364   112.16   0.000     38.28594    39.64788
------------------------------------------------------------------------------

Absorbed degrees of freedom:
-----------------------------------------------------+
 Absorbed FE | Categories  - Redundant  = Num. Coefs |
-------------+---------------------------------------|
 facility_id |     81364       81364           0    *|
     n5#year |      6831           1        6830     |
-----------------------------------------------------+
* = FE nested within cluster; treated as redundant for DoF computation

. estimates store res_level_emission2

. 
. //state-level se
. //reghdfe  tot_emissions treatXpost if key_estimation_sample==1&tot_damage<1e8, absorb(facility_id n5#year) vce(cluster state_number)
. //estimates store res_level_emission2state
. 
. 
. gen log_emisX=log(tot_emissions+1)

. //facility-level se
. reghdfe  log_emisX treatXpost if key_estimation_sample==1, absorb(facility_id n5#year) vce(cluster facility_id)
(MWFE estimator converged in 246 iterations)

HDFE Linear regression                            Number of obs   =    699,013
Absorbing 2 HDFE groups                           F(   1,  81431) =      47.53
Statistics robust to heteroskedasticity           Prob > F        =     0.0000
                                                  R-squared       =     0.9461
                                                  Adj R-squared   =     0.9383
                                                  Within R-sq.    =     0.0003
Number of clusters (facility_id) =     81,432     Root MSE        =     0.4339

                       (Std. Err. adjusted for 81,432 clusters in facility_id)
------------------------------------------------------------------------------
             |               Robust
   log_emisX |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
  treatXpost |  -.0815167   .0118237    -6.89   0.000     -.104691   -.0583424
       _cons |   1.429618   .0020263   705.55   0.000     1.425647     1.43359
------------------------------------------------------------------------------

Absorbed degrees of freedom:
-----------------------------------------------------+
 Absorbed FE | Categories  - Redundant  = Num. Coefs |
-------------+---------------------------------------|
 facility_id |     81432       81432           0    *|
     n5#year |      6834           1        6833     |
-----------------------------------------------------+
* = FE nested within cluster; treated as redundant for DoF computation

. estimates store res_log_emission1

. 
. //state-level se
. //reghdfe  log_emisX treatXpost if key_estimation_sample==1, absorb(facility_id n5#year) vce(cluster state_number)
. //estimates store res_log_emission1state
. 
. esttab res_level_damage1  res_level_damage2 res_log_damage1  res_level_emission1 res_level_emission2 res_log_emission1 using "$rootpath/table_graph/TBL
> _A4.tex",  star( * 0.1 ** 0.05 *** 0.01) cells(b(star fmt(3)) se(par fmt(3))) keep(treatXpost _cons) scalars(N F) ar2 replace 
(note: file /Users/wesleyblundell/Dropbox/Wes_Supplemental_NEI/JAERE_Replication/Replication_package/table_graph/TBL_A4.tex not found)
(output written to /Users/wesleyblundell/Dropbox/Wes_Supplemental_NEI/JAERE_Replication/Replication_package/table_graph/TBL_A4.tex)

. 
. log close
      name:  <unnamed>
       log:  /Users/wesleyblundell/Dropbox/Wes_Supplemental_NEI/JAERE_Replication/Replication_package/log/Table_A4_Results.log
  log type:  text
 closed on:  15 May 2024, 11:40:42
---------------------------------------------------------------------------------------------------------------------------------------------------------
